package com.taotao.designpattern.event;

import com.taotao.designpattern.event.job.Job;
import com.taotao.designpattern.event.proccessor.JobProccessor;
import com.taotao.designpattern.event.proccessor.JobRunResult;

/**
 * 事件驱动模式
 *
 * @author fanbeibei
 * @version 1.0
 * @date 2021/1/5 10:41
 */
public class EventMain {

    public static void main(String[] args) {
        Job job = null;
        JobProccessor proccessor = null;
        proccessor.triggerJob(job);

        JobRunResult runResult = null;
        proccessor.proccessJobRunResult(runResult);
    }


}
